package com.padakeji.android.pworks.module.image.common;

import com.padakeji.android.pworks.module.image.entity.ImageInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by AtanL on 2015/9/22.
 */
public class ImageInfoUtil {

    public static ArrayList<String> toPathArray(List<ImageInfo> imageInfos) {
        ArrayList<String> imagePaths = new ArrayList<>();
        for (ImageInfo i : imageInfos) {
            imagePaths.add(i.path);
        }
        return imagePaths;
    }
}
